package com.neusoft.bizcore.activiti.dto;

import java.util.List;

import com.neusoft.bizcore.activiti.enums.WorkOrderStatus;
import com.neusoft.bizcore.web.dto.AbstractAuditDTO;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WorkorderDTO extends AbstractAuditDTO {

    private static final long serialVersionUID = 1L;

    /** 申请人名称 */
    private String applyUserName;

    /** 申请人编码 */
    private String applyUserId;

    /** 流程标题 */
    private String title;

    /** 流程实例ID */
    private String instanceId;

    /** 工单类型 */
    private String type;

    /** 工单号 */
    private String workOrderNum;

    /** 工单状态 */
    private WorkOrderStatus status;

    /** 工单状态名称 */
    private String statusName;

    /** 当前节点处理人/角色 */
    private String currentNodeUser;

    /** 权限按钮 */
    private List<String> optionBtns;

    /** 当前节点 */
    private String currentNode;

}
